﻿<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>@Model.Title</title>
    <link href="~/Content/bootstrap.min.css" rel="stylesheet" />
    <script src="~/Scripts/jquery-1.10.2.min.js"></script>
</head>
<body>
    <style>
        .login-panel {
            margin-top: 25%;
        }
    </style>
    <form method="post">
        @AntiForgeryToken
        <div class="row">
            <div class="col-md-4 col-md-offset-4">
                <div class="login-panel panel panel-primary">
                    <div class="panel-heading">
                        <h3 class="panel-title">登录</h3>
                    </div>
                    <div class="panel-body">
                        <div class="form-group">
                            <div class="input-group">
                                <span class="input-group-addon">用户名</span>
                                <input type="text" name="UserName" class="form-control" placeholder="用户名" aria-describedby="basic-addon1">
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="input-group">
                                <span class="input-group-addon">密&nbsp;&nbsp;&nbsp;码</span>
                                <input type="Password" name="Password" class="form-control" placeholder="密码" aria-describedby="basic-addon1">
                            </div>
                        </div>

                        <div class="form-group">
                            记住帐号 <input name="RememberMe" type="checkbox" />
                        </div>

                        <div class="form-group">
                            <button type="submit" class="btn btn-danger btn-block">登&nbsp;&nbsp;&nbsp;录</button>
                        </div>

                        <div class="form-group">
                            @Model.ErrorMsg
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </form>

</body>
</html>
